package com.zhiyou.dao;

import com.zhiyou.bean.House;
import com.zhiyou.bean.Logistics;
import com.zhiyou.bean.Record;
import java.util.List;
import java.util.Map;

import com.zhiyou.bean.RecordExample;
import org.springframework.stereotype.Component;


@Component
public interface RecordMapper{


    List<Record> selectAll();

    List<House> selectAddress();

    List<Logistics> selectName();

    int insert(Record r);

    int updateOne(Record r);

    Record detail(Integer id);

    int delete(int id);

    List<Record> selectLike(Map<String,String> map);
}